@Schlangenmensch sagte in map mit struct und variant: eine std::map und keine std::unordered_map ich sage doch, je nachdem, welche Map man will. eine std::map ist selten die sinnvollste Wahl.